<?

require_once('functions.php');

$extcmd=$_REQUEST['extcmd'];

?>

<HTML>
<HEAD><TITLE>Voiper Users</TITLE>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<link href="home.css" rel="stylesheet" type="text/css">
<SCRIPT language="javascript" type="text/javascript">
<!--
function changelayer_color(newcolor,numerotab){
      if(document.layers){
 //thisbrowser="NN4";
document.layers[numerotab].bgColor=newcolor;
}
if(document.all){
            //thisbrowser="ie"
//  document.all.numerotab.style.backgroundColor=newcolor;
   document.getElementById(numerotab).style.backgroundColor=newcolor;
       }
 if(!document.all && document.getElementById){
     //thisbrowser="NN6";
   document.getElementById(numerotab).style.backgroundColor=newcolor;
 }
 }
 
function disclaimer(f2) {

    cancel = false;
    ok = true;

    if (confirm("<?php echo _("Flash Operator Panel\\n\\nThe user accepts to use all the informations showed in the FOP following the local law of Privacy.\\n\\nThe user accepts that it is strictly forbidden to utilize the FOP services against individual interests or with offending purposes; it is also forbidden the damage of third parties or to reveal enterprise reserved informations.")?>"))
        return ! cancel;
    else
        return ! ok;
}
// -->
</SCRIPT>
</HEAD>

<BODY text="#333333" vLink="#000000" aLink="#000000" link="#000000" bgColor="#ffffff">

<DIV align=center>

  <TABLE cellSpacing=0 cellPadding=1 width=619 border=0>
  <TBODY>
  <TR bgColor=#000000>
    <TD width="100%">
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width="100%" bgColor=white>
            <TABLE cellSpacing=2 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD bgColor=#FFFFFF><div align="left"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1><?php echo _("Welcome")?> <b><? echo getenv('REMOTE_USER'); ?></b> (<?php echo _("User")?>)</font></div></TD>
             </TR>
              <TR>
                <TD bgColor=#FFFFFF><div align="center"><a href="index.php" onFocus="this.blur()" target="_self"><img src="images/logo_voiper.jpg" border="0"></a></div></TD>
             </TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD width="100%" height="1"></TD></TR>
        <TR>
          <TD width="100%" bgColor=#eeeeee>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD vAlign=top width="31%" bgColor="#5cb148">
                  <TABLE cellSpacing="0" cellPadding="3" width="100%" border="0">
                    <TBODY>
                    <TR>
                      <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></TD>
                  </TR>
                    <TR>
                      <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><B><FONT
                        color=#1E5118>+</FONT></B> <a href="panel/index.php" onFocus="this.blur()" target="_blank" onClick="return disclaimer(this);" onMouseOver="changelayer_color('#CCCCCC','2');" onMouseOut="changelayer_color('#f4f2f2','2');"><?php echo _("Flash Operator Panel")?></a></FONT></TD>
                    </TR>
                    <TR>
                      <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><B><FONT
                        color=#1E5118>+</FONT></B> <a href="recordings/index.php" onFocus="this.blur()" target="_blank" onMouseOver="changelayer_color('#CCCCCC','8');" onMouseOut="changelayer_color('#f4f2f2','8');"><?php echo _("Ari")?></a></FONT></TD>
                    </TR>
                    <TR>
                      <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><B><FONT
                        color=#1E5118>+</FONT></B> <a href="argus/cgi-bin" onFocus="this.blur()" target="_blank" onMouseOver="changelayer_color('#CCCCCC','10');" onMouseOut="changelayer_color('#f4f2f2','10');"><?php echo _("Argus")?></a></FONT></TD>
                    </TR>
                    <TR>
                      <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><B><FONT
                        color=#1E5118>+</FONT></B> <a href="http://www.voiper.it/content/area-download" onFocus="this.blur()" target="_blank" onMouseOver="changelayer_color('#CCCCCC','5');" onMouseOut="changelayer_color('#f4f2f2','5');"><?php echo _("Download Voiper Bar")?></a></FONT></TD>
                    </TR>
                    <TR>
                      <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><B><FONT
                        color=#1E5118>+</FONT></B> <a href="download/in_gsm_v1_0.exe" onFocus="this.blur()" target="_self" onMouseOver="changelayer_color('#CCCCCC','7');" onMouseOut="changelayer_color('#f4f2f2','7');"><?php echo _("Download GSM PlugIn")?></a></FONT></TD>
                    </TR>
                    <TR>
                      <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><B><FONT
                        color=#1E5118>+</FONT> </B><a onFocus="this.blur()" onclick="window.open('clicktocall/click-to-call.php','clicktocall','height=280,width=450,scrollbars=no,toolbar=no,location=no,screenX=100,screenY=20,top=50,left=200')" href="#" onMouseOver="changelayer_color('#CCCCCC','9');" onMouseOut="changelayer_color('#f4f2f2','9');"><?php echo _("Click-to-Call")?></a></FONT></TD>
                    </TR>
                    <TR>
                      <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></TD>
                    </TR>
                    <TR>
                      <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><B><FONT
                        color=#333333>+</FONT></B> <a href="/index.php" onFocus="this.blur()" target="_self" onMouseOver="changelayer_color('#CCCCCC','6');" onMouseOut="changelayer_color('#f4f2f2','6');"><?php echo _("Main menu")?></a></FONT></TD>
                    </TR>
                    <TR>
                      <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></TD>
                    </TR>
                      </TBODY></TABLE></TD>
                <TD vAlign=top width="1%" background="images/frame1.gif"></TD>
                <TD vAlign=top width="67%" bgColor=#f4f2f2><table width="100%" border="0" cellspacing="0" cellpadding="3">
                  <tr>
                    <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></TD>
                  </tr>
                  <tr>
                    <td><div id="2"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;<?php echo _("Control Panel of Pbx Voiper.")?></font></div></td>
                    </tr>
                  <tr>
                    <td><div id="8"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;<?php echo _("VoiceMail web Interface.")?></font></div></td>
                    </tr>
                  <tr>
                    <td><div id="10"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;<?php echo _("Server Monitoring.")?></font></div></td>
                    </tr>
                  <tr>
                    <td><div id="5"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;<?php echo _("Download VoiperBar for Windows.")?></font></div></td>
                    </tr>
                  <tr>
                    <td><div id="7"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;<?php echo _("Download GSM PlugIn for")?> <a href="http://www.winamp.com" onFocus="this.blur()" target="_blank"><?php echo _("Winamp")?></a>.</font></div></td>
                    </tr>
                  <tr>
                    <td><div id="9"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;<?php echo _("Example of Click-to-Call.")?> [<a href="clicktocall/click-to-call.zip" onFocus="this.blur()"><?php echo _("Download sources")?></a>]</font></div></td>
                    </tr>
                  <tr>
                    <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></TD>
                  </tr>
                  <tr>
                    <td><div id="6"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;<?php echo _("Back to main menu.")?></font></div></td>
                    </tr>
                  <tr>
                    <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></TD>
                  </tr>
                </table></TD>
              </TR></TBODY></TABLE>
            <TABLE cellSpacing=0 width="100%" bgColor="#e97948" background="images/frame4.gif" border=0>
              <TBODY>
              <TR>
                <TD><div align="left"><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#000000 size=2>Pbx Hostname: <? echo passthru('hostname'); ?></FONT></div></TD>
                <TD><div align="right"><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#000000 size=2><? echo "online: ".uptime(); ?>&nbsp;</FONT></div></TD>
              </TR></TBODY></TABLE>
            <TABLE cellSpacing=0 width="100%" bgColor=#FFFFFF background="images/frame4.gif" border=0>
              <TBODY></TBODY></TABLE>
          </TR></TBODY></TABLE></TR></TBODY></TABLE>
</DIV>
</BODY></HTML>
